<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>学习园地</title>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['css_path']; ?>/global.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['css_path']; ?>/style.css" />
</head>
<body>
<?php echo $this->fetch('top.html'); ?>
<?php echo $this->fetch('header.html'); ?>
<div id="study_main">
  <div class="study_maintop">
    <div class="study_maintop_left left">
      <div class="study_type">
        <h3>分类</h3>
      </div>
      <ul>
      <?php $_from = $this->_var['study_category']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
    foreach ($_from AS $this->_var['list']):
?>
        <li><?php echo $this->_var['list']['value']; ?></li>
        <?php if (! empty ( $this->_var['list']['children'] )): ?>
         <?php $_from = $this->_var['list']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'child');if (count($_from)):
    foreach ($_from AS $this->_var['child']):
?>
        <li style="color:red"><?php echo $this->_var['child']['value']; ?></li>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        <?php endif; ?>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      </ul>
      <img src="<?php echo $this->_var['images_path']; ?>/study_bdlogobg.png" /> </div>
    <div class="study_maintop_middle">
      <div class="study_middle_top">
        <h3 class="study_title">最新资讯</h3>
        <span class="study_more"><a href="#">更多>></a></span> </div>
   
    <?php if (! empty ( $this->_var['new_study_list'] )): ?>
    <?php $_from = $this->_var['new_study_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
    foreach ($_from AS $this->_var['list']):
?>
      <div class="study_hows">
        <div class="study_information"> <span class="study_span1"></span>
          <h3><a href="<?php echo $this->_var['list']['url']; ?>"><?php echo $this->_var['list']['name']; ?></a></h3>
          <span class="study_span2"><?php echo Date::timeformat($this->_var['list']['add_time'],2); ?></span> </div>
        <p><?php echo strip_tags($this->_var['list']['description']); ?></p>
      </div>
     <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
     <?php endif; ?>
    </div>
    <div class="study_maintop_right"> <img src="<?php echo $this->_var['images_path']; ?>/study_adlogo.png" />
      <div class="study_type">
        <h3>常用小工具</h3>
      </div>
      <ul>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_1.png" /></span>
          <h4>C型钢檩条计算工具</h4>
          <a href="#">点击下载</a> </li>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_2.png" /></span>
          <h4>保温计算小软件</h4>
          <a href="#">点击下载</a> </li>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_3.png" /></span>
          <h4>参数查询-单位换算</h4>
          <a href="#">点击下载</a> </li>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_4.png" /></span>
          <h4>单位换算器</h4>
          <a href="#">点击下载</a> </li>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_5.png" /></span>
          <h4>道路计算量</h4>
          <a href="#">点击下载</a> </li>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_6.png" /></span>
          <h4>工程常用资料</h4>
          <a href="#">点击下载</a> </li>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_7.png" /></span>
          <h4>计算工程1.63</h4>
          <a href="#">点击下载</a> </li>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_8.png" /></span>
          <h4>梁版钢筋面积查询</h4>
          <a href="#">点击下载</a> </li>
        <li> <span><img src="<?php echo $this->_var['images_path']; ?>/tool_9.png" /></span>
          <h4>日历计算器</h4>
          <a href="#">点击下载</a> </li>
      </ul>
    </div>
  </div>
  <div class="study_mainmuen">
    <div class="study_type">
      <h3>最新计价软件视频</h3>
    </div>
    <ul class="soft_vedio_list">
      <?php $_from = $this->_var['soft_vedio_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
    foreach ($_from AS $this->_var['list']):
?>
      <li>
        <dl>
          <dt><a href="<?php echo $this->_var['list']['url']; ?>"><img src="<?php echo $this->_var['list']['attacment']['url']; ?>" /></a></dt>
          <dd><a href="<?php echo $this->_var['list']['url']; ?>"><?php echo $this->_var['list']['name']; ?></a></dd>
        </dl>
      </li>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </ul>
  </div>
  <div class="clear"></div>
  <div class="study_mainfooter">
    <div class="study_footleft">
      <div id="study_set">
        <div class="study_title_clearfix">
          <h3 class="study_title">造价知识</h3>
          <span class="study_more"><a href="<?php echo $this->_var['site_url']; ?>study/list/">更多>></a></span> </div>
        <div class="study_block_content">
          <ul>
            <?php $_from = $this->_var['new_study_list_top1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
    foreach ($_from AS $this->_var['list']):
?>
            <li> <a href="<?php echo $this->_var['list']['url']; ?>"><?php echo $this->_var['list']['name']; ?></a> <span><?php echo Date::timeformat($this->_var['list']['add_time'],2); ?></span> </li>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          </ul>
        </div>
      </div>
      <div id="study_set">
        <div class="study_title_clearfix">
          <h3 class="study_title">工程案例</h3>
          <span class="study_more"><a href="<?php echo $this->_var['site_url']; ?>study/list/177">更多>></a></span> </div>
        <div class="study_block_content">
          <ul>
            <?php $_from = $this->_var['new_study_list_top2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
    foreach ($_from AS $this->_var['list']):
?>
            <li> <a href="<?php echo $this->_var['list']['url']; ?>"><?php echo $this->_var['list']['name']; ?></a> <span><?php echo Date::timeformat($this->_var['list']['add_time'],2); ?></span> </li>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          </ul>
        </div>
      </div>
      <div id="study_set">
        <div class="study_title_clearfix">
          <h3 class="study_title">施工方案</h3>
          <span class="study_more"><a href="#">更多>></a></span> </div>
        <div class="study_block_content">
          <ul>
            <?php $_from = $this->_var['new_study_list_foot1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
    foreach ($_from AS $this->_var['list']):
?>
            <li> <a href="<?php echo $this->_var['list']['url']; ?>"><?php echo $this->_var['list']['name']; ?></a> <span><?php echo Date::timeformat($this->_var['list']['add_time'],2); ?></span> </li>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          </ul>
        </div>
      </div>
      <div id="study_set">
        <div class="study_title_clearfix">
          <h3 class="study_title">标准图集</h3>
          <span class="study_more"><a href="#">更多>></a></span> </div>
        <div class="study_block_content">
          <ul>
            <?php $_from = $this->_var['new_study_list_foot2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');if (count($_from)):
    foreach ($_from AS $this->_var['list']):
?>
            <li> <a href="<?php echo $this->_var['list']['url']; ?>"><?php echo $this->_var['list']['name']; ?></a> <span><?php echo Date::timeformat($this->_var['list']['add_time'],2); ?></span> </li>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          </ul>
        </div>
      </div>
    </div>
    <div class="study_footright">
      <div id="study_crowd">
        <div class="study_type">
          <h3>活跃人群</h3>
        </div>
        <div class="study_user">
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
          <dl>
            <dt><a href="#"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></a></dt>
            <dd>花夕絮</dd>
          </dl>
        </div>
      </div>
      <div class="clear"></div>
      <div id="study_know">
        <div class="study_know_title">
          <h3 class="study_title">氿上知道</h3>
          <span class="study_more"><a href="#">更多>></a></span> </div>
        <ul>
          <li> <a href="#">某房地产项目地方开盘计划</a> <span>1回答</span> </li>
          <li> <a href="#">某房地产项目地方开盘计划</a> <span>1回答</span> </li>
          <li> <a href="#">某房地产项目地方开盘计划</a> <span>1回答</span> </li>
          <li> <a href="#">某房地产项目地方开盘计划</a> <span>1回答</span> </li>
          <li> <a href="#">某房地产项目地方开盘计划</a> <span>1回答</span> </li>
          <li> <a href="#">某房地产项目地方开盘计划</a> <span>1回答</span> </li>
          <li> <a href="#">某房地产项目地方开盘计划</a> <span>1回答</span> </li>
        </ul>
      </div>
    </div>
  </div>
</div>
<?php echo $this->fetch('footer.html'); ?>
</body>
</html>

<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jquery.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/lxdCarousel.js"></script> 
<script>
$(function(){
    //旋转木马
	$('.soft_vedio_list').lxdCarousel({
		display_num: 5, 
		move: 1, 
		auto: true, 
		controls: true,
		margin: 17,
		auto_hover: true,
		cover:false,
		prev_image:'<?php echo $this->_var['images_path']; ?>/left.gif',
		next_image:'<?php echo $this->_var['images_path']; ?>/right.gif'
	});
	
	});

</script>